<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="http://localhost/themes/admin/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<link href="http://localhost/themes/admin/css/admin.css" type="text/css" rel="stylesheet" />
<script src="http://localhost/assets/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<link id="artDialog-skin" href="http://localhost/assets/js/dialog/skins/default.css" rel="stylesheet" />
<script>
</script>
<title>汇款处理</title>
</head>

<body>
	<div class="row-fluid">
	  <div class="span6">
		<div class="alert alert-success">
			<h3>汇款信息</h3>
			<p>汇款人姓名：<?php echo $Remittance->Name; ?></p>
			<p>手机号码：<?php echo $Remittance->Mobile; ?></p>
			<p>汇款方式：<?php echo $PayType->Name; ?></p>
			<p>汇款金额：<?php echo $Remittance->Remittance; ?></p>
			<p>汇款账号：<?php echo $Remittance->AccountNo; ?></p>
		</div>
	  </div>
	  <div class="span6"><img style="width:400px;height:150px;"/></div>
	</div>
	<div class="row-fluid">&nbsp;</div>
	<div class="row-fluid">
		<div class="span12">
			<div class="alert alert-error">
			<h3>关联银行账单</h3>
			<p>
			<?php 
			foreach($Accounts as $row){
				$bankname = $row['BankName'];
				$sum = $row['Sum'];
				echo "银行：$bankname,金额：$sum &nbsp;&nbsp;&nbsp;&nbsp;";
			}
			?>
			</p>
			</div>
		</div>
	</div>
	<div class="row-fluid">&nbsp;</div>
	<div class="row-fluid">
		<div class="alert alert-info">
			<h3>汇款处理</h3>
			<div class="row-fluid">
				<div class="span6">
					<div class="alert alert-success">
						<?php 
						echo form_open('admin/RemittanceSuccess');
						echo form_textarea('txtname','您的汇款已经打入指定账户['.$Remittance->AccountNo.']，请注意查收！','style="width:100%"');
						echo form_submit('mysubmit', '汇款成功','class="btn btn-success"');
						?>
						</form>
					</div>
				</div>
				<div class="span6">
					<div class="alert alert-error">
						<?php 
						echo form_open('admin/RemittanceError');
						echo form_textarea('txtname','','style="width:100%"');
						$options = array();
						foreach($RemittanceErrorTypes as $row){
							$options[$row->Id] = $row->Name;
						}
						echo form_dropdown('RemittanceErrorType', $options, '');
						echo form_submit('mysubmit', '汇款失败','class="btn btn-danger"');
						?>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="tablebox">
		
	</div>
	<div class="tablebox_footer">
	
	</div>
</body>
</html>